Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn UA into a list #46

Merged
merged 4 commits into from
Jan 23, 2020
Merged

Turn UA into a list #46

merged 4 commits into from
Jan 23, 2020

Conversation

yoavweiss
Copy link
Collaborator

This PR turns the UA into a list of parameterized items (each can contain its own version), and does the same for platform. The goal here is to make parsing on the server easier (as we'd be using Structured Headers) as well as on the client (the attribute returns a FrozenArray of dictionary objects with the information).

Closes #21 and #22

README.md Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
Copy link
Contributor

@amtunlimited amtunlimited left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Thanks

@yoavweiss
Copy link
Collaborator Author

Thanks for reviewing! :)

@yoavweiss yoavweiss merged commit 65a8c5b into WICG:master Jan 23, 2020
@yoavweiss yoavweiss deleted the ua_set branch January 23, 2020 15:37
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 26, 2020
This CL aligns the UA-CH implementation with PR#46[1].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 26, 2020
This CL aligns the UA-CH implementation with PR#46[1].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 26, 2020
This CL aligns the UA-CH implementation with PR#46[1].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 27, 2020
This CL aligns the UA-CH implementation with PR#46[1] and 48[2].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Jan 27, 2020
This CL aligns the UA-CH implementation with PR#46[1] and 48[2].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 3, 2020
This CL aligns the UA-CH implementation with PR#46[1] and 48[2].
It also turns a bunch of the high entropy attributes into methods, in
preparation for upcoming changes that will turn them into promises.

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 3, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 3, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 3, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 3, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 4, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 4, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 5, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 6, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747644}
pull bot pushed a commit to FreddyZeng/chromium that referenced this pull request Mar 6, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].


[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747644}
Hexcles pushed a commit to web-platform-tests/wpt that referenced this pull request Mar 6, 2020
This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747644}
xeonchen pushed a commit to xeonchen/gecko that referenced this pull request Mar 11, 2020
…ith PR#46, #48 & #70, a=testonly

Automatic update from web-platform-tests
[UA client hints] Align implementation with PR#46, #48 & #70

This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747644}

--

wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4
wpt-pr: 21428
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Mar 12, 2020
…ith PR#46, #48 & #70, a=testonly

Automatic update from web-platform-tests
[UA client hints] Align implementation with PR#46, #48 & #70

This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwst@chromium.org>
Reviewed-by: Daniel Vogelheim <vogelheim@chromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontag@chromium.org>
Reviewed-by: Avi Drissman <avi@chromium.org>
Commit-Queue: Yoav Weiss <yoavweiss@chromium.org>
Cr-Commit-Position: refs/heads/master@{#747644}

--

wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4
wpt-pr: 21428
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Mar 12, 2020
…ith PR#46, #48 & #70, a=testonly

Automatic update from web-platform-tests
[UA client hints] Align implementation with PR#46, #48 & #70

This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwstchromium.org>
Reviewed-by: Daniel Vogelheim <vogelheimchromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontagchromium.org>
Reviewed-by: Avi Drissman <avichromium.org>
Commit-Queue: Yoav Weiss <yoavweisschromium.org>
Cr-Commit-Position: refs/heads/master{#747644}

--

wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4
wpt-pr: 21428

UltraBlame original commit: 222962fe639e45b4d3f8f769e49446edf4133207
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Mar 12, 2020
…ith PR#46, #48 & #70, a=testonly

Automatic update from web-platform-tests
[UA client hints] Align implementation with PR#46, #48 & #70

This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwstchromium.org>
Reviewed-by: Daniel Vogelheim <vogelheimchromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontagchromium.org>
Reviewed-by: Avi Drissman <avichromium.org>
Commit-Queue: Yoav Weiss <yoavweisschromium.org>
Cr-Commit-Position: refs/heads/master{#747644}

--

wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4
wpt-pr: 21428

UltraBlame original commit: 222962fe639e45b4d3f8f769e49446edf4133207
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Mar 12, 2020
…ith PR#46, #48 & #70, a=testonly

Automatic update from web-platform-tests
[UA client hints] Align implementation with PR#46, #48 & #70

This CL aligns the UA-CH implementation with PR#46[1], #48[2] and
#70[3].

[1] WICG/ua-client-hints#46
[2] WICG/ua-client-hints#48
[3] WICG/ua-client-hints#70

Change-Id: I8221d8a967213180a1aa1d9ef23f17e6f95718b7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2019369
Reviewed-by: Mike West <mkwstchromium.org>
Reviewed-by: Daniel Vogelheim <vogelheimchromium.org>
Reviewed-by: Aaron Tagliaboschi <aarontagchromium.org>
Reviewed-by: Avi Drissman <avichromium.org>
Commit-Queue: Yoav Weiss <yoavweisschromium.org>
Cr-Commit-Position: refs/heads/master{#747644}

--

wpt-commits: e0be414fa1d9f3b4e841ca74bfc43ee3d7586fc4
wpt-pr: 21428

UltraBlame original commit: 222962fe639e45b4d3f8f769e49446edf4133207
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Set of UA strings needs more explanation
2 participants